<?php
$gets = C('get');
$message = isset($gets['__msg_content'])?$gets['__msg_content']:'';
$targeturl = isset($gets['__msg_url'])?$gets['__msg_url']:SERVER_URL;
$duration = isset($gets['__msg_duration'])?$gets['__msg_duration']:3;
$targeturl = $targeturl?$targeturl:SERVER_URL;
if(!$message) gourl($targeturl);
C('__msg_content', $message);
C('__msg_url', $targeturl);
C('__msg_duration', intval($duration)*1000);
loadView('message', 'empty');
?>